package com.messe.base.models;

import java.io.Serializable;
import java.sql.Timestamp;

public class PersonResource implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7402539348402713716L;
	private Integer personResourceId;
	private Person person;
	private String exhibitionId;
	private String relatEntity;
	private String entityId;
	private Integer resourceType;
	private String content;
	private Timestamp createStamp;
	private boolean isFavour;
	
	public PersonResource(Person person, String exhibitionId,
			String relatEntity, String entityId, Integer resourceType,
			String content, Timestamp createStamp, Boolean isFavour) {
		super();
		this.person = person;
		this.exhibitionId = exhibitionId;
		this.relatEntity = relatEntity;
		this.entityId = entityId;
		this.resourceType = resourceType;
		this.content = content;
		this.createStamp = createStamp;
		this.isFavour = isFavour;
	}

	public PersonResource() {
		super();
	}

	public Integer getPersonResourceId() {
		return personResourceId;
	}

	public void setPersonResourceId(Integer personResourceId) {
		this.personResourceId = personResourceId;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public String getExhibitionId() {
		return exhibitionId;
	}

	public void setExhibitionId(String exhibitionId) {
		this.exhibitionId = exhibitionId;
	}

	public String getRelatEntity() {
		return relatEntity;
	}

	public void setRelatEntity(String relatEntity) {
		this.relatEntity = relatEntity;
	}

	public String getEntityId() {
		return entityId;
	}

	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}

	public Integer getResourceType() {
		return resourceType;
	}

	public void setResourceType(Integer resourceType) {
		this.resourceType = resourceType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getCreateStamp() {
		return createStamp;
	}

	public void setCreateStamp(Timestamp createStamp) {
		this.createStamp = createStamp;
	}

	public boolean getIsFavour() {
		return isFavour;
	}

	public void setIsFavour(boolean isFavour) {
		this.isFavour = isFavour;
	}

	
}
